package com.example.easybuy.service;

import com.example.easybuy.entity.Car;
import com.example.easybuy.entity.CarDetail;
import com.example.easybuy.util.AjaxResult;

import java.util.List;
import java.util.Map;

public interface CarService {
    AjaxResult addCar(Map<String,Object> map);
    AjaxResult updateCar(List<CarDetail> cars,String loginName);
    AjaxResult delCar(String loginName,Integer productId);
    Car getCar(String loginName);
}
